﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ArrayWorkbench
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            for (int a = 0; a < 10; a++)
            {
                textBox1.Text = textBox1.Text + "\r\n";
                for (int b = 0; b < a + 1; b++)
                {
                    textBox1.Text = textBox1.Text + " ";
                    for (int c = 0; c < b + 1; c++)
                    {
                        textBox1.Text = textBox1.Text + "*";
                    }
                }
            }
        }
    }
}
